The dollar weakened on Wednesday after a tame reading on U.S. inflation bolstered expectations of a Federal Reserve rate cut next month, with President Donald Trump's attempts to extend his grip over U.S. institutions also undermining the currency.